Skip to content

[FEATURE] add test connection button to prometheus plugin#620

Open
adrianSepiol wants to merge 1 commit intoperses:mainfrom
adrianSepiol:add-test-connection-button
Open

[FEATURE] add test connection button to prometheus plugin#620
adrianSepiol wants to merge 1 commit intoperses:mainfrom
adrianSepiol:add-test-connection-button

Conversation

@adrianSepiol
Copy link
Copy Markdown
Contributor

@adrianSepiol adrianSepiol commented Apr 7, 2026

Related pull requests (in order):

  1. [ENHANCEMENT] support unsaved url generation for datasource api perses#4006
  2. [BUGFIX] set correct ContentLength for request body perses#4007
  3. [ENHANCEMENT] Add UnsavedDatasourceStore and DatasourceTestConnection… shared#99
  4. [ENHANCEMENT] integrate UnsavedDatasourceProvider in DatasourceDrawer perses#4008
  5. This one

Related issue:
perses/perses#1542

Description

Uses "/api/v1/status/buildinfo" instead of "/-/healthy" because from what I tested and found out, the config for CORS on prometheus side is applied on "/api/*" path. So by using "/-/healthy" the direct access test connection would not work.

Screenshots

Edit:

Screencast.from.07-04-26.10.19.29.webm

New in light mode:

Screencast.from.07-04-26.11.26.09.webm

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

Signed-off-by: Adrian Sepiół <adisepko@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant